<template>
  <div>
    <h2>子组件</h2>
    <button @click="fn">点我呀</button>
  </div>
</template>

<script>
export default {
  methods: {
    fn(){
      this.$emit('abc',{name:'张三'})
    }
  },
}
</script>